//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-03B
TN_Widget.CreateTable([['Choice - Play','Berlind Theatre - McCarter Theatre Center','Princeton, NJ','Wednesday','5/22/2024','7:30 PM','5831960','Choice---Play-5-22-2024'],['Choice - Play','Berlind Theatre - McCarter Theatre Center','Princeton, NJ','Thursday','5/23/2024','7:30 PM','5831961','Choice---Play-5-23-2024'],['Triangle Show: Ship Happens, A Crusical!','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Friday','5/24/2024','8:00 PM','6391554','Triangle-Show--Ship-Happens--A-Crusical--5-24-2024'],['Choice - Play','Berlind Theatre - McCarter Theatre Center','Princeton, NJ','Friday','5/24/2024','8:00 PM','5831962','Choice---Play-5-24-2024'],['Ship Happens - A Cruisical','McCarter Theatre Center','Princeton, NJ','Friday','5/24/2024','8:00 PM','6330738','Ship-Happens---A-Cruisical-5-24-2024'],['Choice - Play - ASL Interpreted','Berlind Theatre - McCarter Theatre Center','Princeton, NJ','Saturday','5/25/2024','2:00 PM','5831963','Choice---Play---ASL-Interpreted-5-25-2024'],['Triangle Show: Ship Happens, A Crusical!','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Saturday','5/25/2024','7:00 PM','6391555','Triangle-Show--Ship-Happens--A-Crusical--5-25-2024'],['Ship Happens - A Cruisical','McCarter Theatre Center','Princeton, NJ','Saturday','5/25/2024','7:00 PM','6330739','Ship-Happens---A-Cruisical-5-25-2024'],['Choice - Play','Berlind Theatre - McCarter Theatre Center','Princeton, NJ','Saturday','5/25/2024','8:00 PM','5831964','Choice---Play-5-25-2024'],['Choice - Play - Open Caption & Audio Described Performance','Berlind Theatre - McCarter Theatre Center','Princeton, NJ','Sunday','5/26/2024','2:00 PM','5831965','Choice---Play---Open-Caption---Audio-Described-Performance-5-26-2024'],['Voice and The Violin','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Tuesday','5/28/2024','7:30 PM','5775209','Voice-and-The-Violin-5-28-2024'],['Choice - Play','Berlind Theatre - McCarter Theatre Center','Princeton, NJ','Wednesday','5/29/2024','7:30 PM','5832997','Choice---Play-5-29-2024'],['Choice - Play','Berlind Theatre - McCarter Theatre Center','Princeton, NJ','Thursday','5/30/2024','7:30 PM','5832998','Choice---Play-5-30-2024'],['Choice - Play','Berlind Theatre - McCarter Theatre Center','Princeton, NJ','Friday','5/31/2024','8:00 PM','5832999','Choice---Play-5-31-2024'],['Choice - Play','Berlind Theatre - McCarter Theatre Center','Princeton, NJ','Saturday','6/1/2024','2:00 PM','5831978','Choice---Play-6-1-2024'],['Choice - Play','Berlind Theatre - McCarter Theatre Center','Princeton, NJ','Saturday','6/1/2024','8:00 PM','5831979','Choice---Play-6-1-2024'],['Chris Botti','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Saturday','6/1/2024','8:00 PM','6261332','Chris-Botti-6-1-2024'],['Choice - Play','Berlind Theatre - McCarter Theatre Center','Princeton, NJ','Sunday','6/2/2024','2:00 PM','5831980','Choice---Play-6-2-2024'],['Esperanza Spalding','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Sunday','6/2/2024','7:00 PM','6317637','Esperanza-Spalding-6-2-2024'],['Lakecia Benjamin','Berlind Theatre - McCarter Theatre Center','Princeton, NJ','Wednesday','6/5/2024','7:30 PM','6261333','Lakecia-Benjamin-6-5-2024'],['Stomp','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Friday','6/7/2024','8:00 PM','5800211','Stomp-6-7-2024'],['Stomp','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Saturday','6/8/2024','3:00 PM','5800212','Stomp-6-8-2024'],['Empire Records','Berlind Theatre - McCarter Theatre Center','Princeton, NJ','Saturday','9/7/2024','7:30 PM','6391557','Empire-Records-9-7-2024'],['Empire Records','Berlind Theatre - McCarter Theatre Center','Princeton, NJ','Friday','9/13/2024','7:30 PM','6391562','Empire-Records-9-13-2024'],['Empire Records','Berlind Theatre - McCarter Theatre Center','Princeton, NJ','Sunday','9/15/2024','2:00 PM','6391565','Empire-Records-9-15-2024'],['Empire Records','Berlind Theatre - McCarter Theatre Center','Princeton, NJ','Friday','9/20/2024','7:30 PM','6391569','Empire-Records-9-20-2024'],['Empire Records','Berlind Theatre - McCarter Theatre Center','Princeton, NJ','Sunday','9/22/2024','2:00 PM','6391572','Empire-Records-9-22-2024'],['Empire Records','Berlind Theatre - McCarter Theatre Center','Princeton, NJ','Friday','9/27/2024','7:30 PM','6391576','Empire-Records-9-27-2024'],['Ballet Hispanico','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Saturday','9/28/2024','7:30 PM','6414690','Ballet-Hispanico-9-28-2024'],['Empire Records','Berlind Theatre - McCarter Theatre Center','Princeton, NJ','Sunday','9/29/2024','2:00 PM','6391580','Empire-Records-9-29-2024'],['Duel Reality','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Wednesday','10/9/2024','7:30 PM','6414624','Duel-Reality-10-9-2024'],['Duel Reality','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Thursday','10/10/2024','7:30 PM','6414625','Duel-Reality-10-10-2024'],['Duel Reality','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Friday','10/11/2024','7:30 PM','6414626','Duel-Reality-10-11-2024'],['Duel Reality','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Saturday','10/12/2024','2:00 PM','6414628','Duel-Reality-10-12-2024'],['Duel Reality','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Saturday','10/12/2024','7:30 PM','6414627','Duel-Reality-10-12-2024'],['Duel Reality','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Sunday','10/13/2024','2:00 PM','6414629','Duel-Reality-10-13-2024'],['Sw!ng Out','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Friday','10/25/2024','7:30 PM','6414691','Sw-ng-Out-10-25-2024'],['A Christmas Carol','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Tuesday','12/10/2024','7:30 PM','6391583','A-Christmas-Carol-12-10-2024'],['A Christmas Carol','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Wednesday','12/11/2024','7:30 PM','6391584','A-Christmas-Carol-12-11-2024'],['A Christmas Carol','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Friday','12/13/2024','7:30 PM','6391585','A-Christmas-Carol-12-13-2024'],['A Christmas Carol','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Saturday','12/14/2024','1:00 PM','6391586','A-Christmas-Carol-12-14-2024'],['A Christmas Carol','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Saturday','12/14/2024','5:30 PM','6391587','A-Christmas-Carol-12-14-2024'],['A Christmas Carol','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Sunday','12/15/2024','1:00 PM','6391588','A-Christmas-Carol-12-15-2024'],['A Christmas Carol','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Sunday','12/15/2024','5:30 PM','6391589','A-Christmas-Carol-12-15-2024'],['A Christmas Carol','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Wednesday','12/18/2024','7:30 PM','6391590','A-Christmas-Carol-12-18-2024'],['A Christmas Carol','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Thursday','12/19/2024','7:30 PM','6391591','A-Christmas-Carol-12-19-2024'],['A Christmas Carol','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Friday','12/20/2024','7:30 PM','6391592','A-Christmas-Carol-12-20-2024'],['A Christmas Carol','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Saturday','12/21/2024','1:00 PM','6391593','A-Christmas-Carol-12-21-2024'],['A Christmas Carol','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Saturday','12/21/2024','5:30 PM','6391594','A-Christmas-Carol-12-21-2024'],['A Christmas Carol','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Sunday','12/22/2024','1:00 PM','6391595','A-Christmas-Carol-12-22-2024'],['A Christmas Carol','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Sunday','12/22/2024','5:30 PM','6391596','A-Christmas-Carol-12-22-2024'],['A Christmas Carol','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Monday','12/23/2024','5:30 PM','6391597','A-Christmas-Carol-12-23-2024'],['A Christmas Carol','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Tuesday','12/24/2024','4:00 PM','6391598','A-Christmas-Carol-12-24-2024'],['A Christmas Carol','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Friday','12/27/2024','5:30 PM','6391600','A-Christmas-Carol-12-27-2024'],['A Christmas Carol','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Saturday','12/28/2024','1:00 PM','6391601','A-Christmas-Carol-12-28-2024'],['A Christmas Carol','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Saturday','12/28/2024','5:30 PM','6391602','A-Christmas-Carol-12-28-2024'],['A Christmas Carol','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Sunday','12/29/2024','1:00 PM','6391603','A-Christmas-Carol-12-29-2024'],['A Christmas Carol','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Sunday','12/29/2024','5:30 PM','6391604','A-Christmas-Carol-12-29-2024'],['Here There Are Blueberries','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Friday','1/24/2025','7:30 PM','6414630','Here-There-Are-Blueberries-1-24-2025'],['Here There Are Blueberries','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Saturday','1/25/2025','2:00 PM','6414632','Here-There-Are-Blueberries-1-25-2025'],['Here There Are Blueberries','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Saturday','1/25/2025','7:30 PM','6414631','Here-There-Are-Blueberries-1-25-2025'],['Here There Are Blueberries','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Sunday','1/26/2025','2:00 PM','6414633','Here-There-Are-Blueberries-1-26-2025'],['Here There Are Blueberries','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Wednesday','1/29/2025','7:30 PM','6414634','Here-There-Are-Blueberries-1-29-2025'],['Here There Are Blueberries','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Thursday','1/30/2025','7:30 PM','6414635','Here-There-Are-Blueberries-1-30-2025'],['Here There Are Blueberries','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Friday','1/31/2025','7:30 PM','6414636','Here-There-Are-Blueberries-1-31-2025'],['Here There Are Blueberries','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Saturday','2/1/2025','2:00 PM','6414637','Here-There-Are-Blueberries-2-1-2025'],['Here There Are Blueberries','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Saturday','2/1/2025','7:30 PM','6414639','Here-There-Are-Blueberries-2-1-2025'],['Here There Are Blueberries','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Sunday','2/2/2025','2:00 PM','6414638','Here-There-Are-Blueberries-2-2-2025'],['Here There Are Blueberries','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Wednesday','2/5/2025','7:30 PM','6414640','Here-There-Are-Blueberries-2-5-2025'],['Here There Are Blueberries','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Thursday','2/6/2025','7:30 PM','6414641','Here-There-Are-Blueberries-2-6-2025'],['Here There Are Blueberries','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Friday','2/7/2025','7:30 PM','6414642','Here-There-Are-Blueberries-2-7-2025'],['Here There Are Blueberries','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Saturday','2/8/2025','2:00 PM','6414645','Here-There-Are-Blueberries-2-8-2025'],['Noli Timere','Berlind Theatre - McCarter Theatre Center','Princeton, NJ','Saturday','2/8/2025','7:30 PM','6414693','Noli-Timere-2-8-2025'],['Here There Are Blueberries','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Saturday','2/8/2025','7:30 PM','6414643','Here-There-Are-Blueberries-2-8-2025'],['Here There Are Blueberries','Matthews Theatre - McCarter Theatre Center','Princeton, NJ','Sunday','2/9/2025','2:00 PM','6414646','Here-There-Are-Blueberries-2-9-2025']],'McCarter Theatre Center','http://www.ticketnetwork.com/ticket/McCarter-Theatre-Center-events.aspx');